package com.lovo.project2.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 销售对象
 */
@Data
@TableName("t_sale16")
public class SaleBean {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    //客户的名字
    private String clientName;
    //负责人
    private String salesman;
    //订单总额
    private long  sum;
    //客户的办公地点
    private String address;
    //销售的时间
    private LocalDate saleTime;
    @TableField(exist = false)
private List<SaleDetailsBean> list;

}
